﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="UserManage.aspx.cs" Inherits="UserManage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <link href="Styles/UserManaget.css" rel="Stylesheet" type="text/css" />
    <style type="text/css">
        .style5
        {
            width: 353px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    <div id="leftBox">
        <table class="style1">
            <tr>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    <asp:Button ID="btn_User" runat="server" Text="查看用户" CssClass="button" 
                        onclick="btn_User_Click" />
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    <asp:Button ID="btn_manager" runat="server" Text="查看管理员" CssClass="button" 
                        onclick="btn_manager_Click" />
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    <asp:Button ID="btn_Modify" runat="server" Text="修改密码" CssClass="button" 
                        onclick="btn_Modify_Click" />
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    <asp:Button ID="btn_del" runat="server" Text="删除管理员" CssClass="button" 
                        onclick="btn_del_Click" onclientclick="return confirm('请确认是否删除？')" 
                        Visible="False" />
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    <asp:Button ID="btn_add" runat="server" Text="添加管理员" CssClass="button" 
                        Visible="False" onclick="btn_add_Click" />
                </td>
            </tr>
            </table>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:Panel ID="Panel1" runat="server" CssClass="userPanel">
        <asp:Label ID="Label3" runat="server" Text="Label"></asp:Label>
        <asp:GridView ID="GridView1" runat="server" 
            BackColor="White" BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" 
            CellPadding="3" CellSpacing="1" GridLines="None">
            <Columns>
                <asp:TemplateField HeaderText="选择">
                    <ItemTemplate>
                        <asp:CheckBox ID="CheckBox1" runat="server" />
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
            <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
            <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
            <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
            <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
            <SortedAscendingCellStyle BackColor="#F1F1F1" />
            <SortedAscendingHeaderStyle BackColor="#594B9C" />
            <SortedDescendingCellStyle BackColor="#CAC9C9" />
            <SortedDescendingHeaderStyle BackColor="#33276A" />
        </asp:GridView>
    </asp:Panel>
    <asp:Panel ID="Panel2" runat="server" CssClass="pwdPanel" Height="143px" 
        Visible="False">
        <center>
            
            <table class="style1">
                <tr>
                    <td class="style5">
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td colspan="2">
                        修改密码</td>
                </tr>
                <tr>
                    <td class="style5">
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style5" style="text-align: right">
                        新密码：</td>
                    <td style="text-align: left">
                        <asp:TextBox ID="txt_Pwd1" runat="server" TextMode="Password"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style5" style="text-align: right">
                        确认新密码：</td>
                    <td style="text-align: left">
                        <asp:TextBox ID="txt_Pwd2" runat="server" TextMode="Password"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style5" style="text-align: right">
                        <asp:Button ID="btn_OK" runat="server" Text="确认" onclick="btn_OK_Click" />
                    </td>
                    <td style="text-align: left">
                        <asp:Button ID="btn_Cancel" runat="server" Text="取消" 
                            onclick="btn_Cancel_Click" />
                        <asp:Label ID="Label1" runat="server" ForeColor="Red"></asp:Label>
                    </td>
                </tr>
            </table>
            
        </center>
    </asp:Panel>
    <asp:Panel ID="Panel3" runat="server" CssClass="pwdPanel" Height="143px" 
        Visible="False">
        <center>
            
            <table class="style1">
                <tr>
                    <td class="style5">
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td colspan="2">
                        添加管理员</td>
                </tr>
                <tr>
                    <td class="style5" style="text-align: right">
                        用户名：</td>
                    <td style="text-align: left">
                        <asp:TextBox ID="txt_User" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style5" style="text-align: right">
                        新密码：</td>
                    <td style="text-align: left">
                        <asp:TextBox ID="txt_Epwd1" runat="server" TextMode="Password"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style5" style="text-align: right">
                        确认新密码：</td>
                    <td style="text-align: left">
                        <asp:TextBox ID="txt_Epwd2" runat="server" TextMode="Password"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style5" style="text-align: right">
                        <asp:Button ID="Button1" runat="server" Text="确认" onclick="Button1_Click" />
                    </td>
                    <td style="text-align: left">
                        <asp:Button ID="Button2" runat="server" Text="取消" onclick="Button2_Click" />
                        <asp:Label ID="Label2" runat="server" ForeColor="Red"></asp:Label>
                    </td>
                </tr>
            </table>
            
        </center>
    </asp:Panel>
</asp:Content>

